fix #9934: adjust query options once pagination is done
add test for container service get image pagination
Merge pull request #1456 from mtbc/query-paging-9934

fix #9934: adjust query options once pagination is done