Update to latest versions of the gems.
Do not show pagination block if there is no pagination.