Fixing the pagination error. Fixes the issue #49
Fixing the elasticsearch index error with district