Make it not wait for element which is not supposed to be displayed.