queue safety condition inverted