Absolutely. And the programmers probably did the most half-assed job possible, despite the requirements they received and simply wrote an app they took each “this room needs to be cleaned” in the order received and once one was cleaned assigned the next one in the list to that crew even if it was on the 12th floor and they were on 3.
Should have grouped it by floors, ad if no more work was available on the 3rd floor then you change floors, etc.