Fixed error on page query.