"Fix checks for accessing offline pages"