Bugfix for pagination on sample set view page