Fix exclude page list not working

Fixes #1389
Merge pull request #1390 from SaschaGalley/exclude-page-list

Fix exclude page list not working