WebSearch: fix number of printed records

* Fixes the number of records printed when a ranking methond is
  used.

Co-authored-by: Nikolaos Kasioumis <nikolaos.kasioumis@cern.ch>
Signed-off-by: Ludmila Marian <ludmila.marian@gmail.com>
Merge pull request #55 from ludmilamarian/master_websearch_fix_sliceing

Master websearch fix sliceing