Fixed 'EndKey' option in 'query_view'