287 people onboard faced hours in the air with most of the aircraft’s toilets unavailable.