Small fix for removing blank pages