Skip page condition not working