make paginate_compact forward-compatible with Blacklight 5.x