Bugfix: Logic for waiting for a css selector to disappear was inverted