Fix Fatal errors

The page might have been removed, so we need to check for that before calling `reload`