Fix page view conditions

Remove all unecessary cruft in order to make the actual tool
take presidence