Bug fix for potential subtle bug in YapDatabaseView. Code didn't take into account possibility of empty pages, which is possible if items have been deleted from the view within the transaction.