check use_view is set when Query::get_query(), min(), max() or count() are called
Merge pull request #210 from keigoi/fix-use_view

check use_view is set when Query::get_query(), min(), max() or count()
Merge branch '1.6/develop' into temporal