Apply limit and offset to queries
add limit to readFromIndexes query
Test to test offset and limit in readFromIndex