add hack to ensure the page join is in the query

git-svn-id: svn+ssh://organicdesign.co.nz/extensions@1984 2ad5491c-c162-49ae-9d3b-afa169216a3e