Skip To Page condition not working properly