EZP-20812: fix offsetting to the non-existing results crasing the app