Fix issue: running library or search view on JRS CE 4.7.1 - 5.0.0 gives "400 bad request" error