Fixed paginate conditions applied twice
whitespace fix
Merge pull request #5441 from coryjthompson/issue-5400

Issue 5400 - paginate conditions applied twice