fixes pagination of map results

Fixes #179