Fix inactive page redirection