Fixed querying issue for modelView.html