Features & fixes

Fixed an exception being thrown where no pages were found.