Police say a security guard and a woman were detained after viral images showed the flags being flown upside down.