Fixed type recently intro'd to hql script