added protection in view_where function of reviewer controller