Ported JIRA 283 fix to staging: AttributeError when trying to view four pages...
Merge after port of fix to JIRA-282: Ordering of search results in the Manuscripts tab...