Small fix for removing blank pages
Merge pull request #4 from NEWECX/thomas/blank_page_removal

Small fix for removing blank pages