Fix ignore page logic