Fix EZP-22730: /url/view/ shows wrong status for objectversions

Fix proposed by Paulo Bras in issue. Confirmed on current git and 4.7.
Merge pull request #949 from glye/EZP-22730-urlview-wrong-status

Fix EZP-22730: /url/view/ shows wrong status for objectversions