Added filtering of deleted pages