The heads of Tunisia's swimming federation and National Anti-Doping Organisation were arrested after the country's flag was covered at a meet in Tunis.