remove uses of HibernateHelper in QueryInputModel