Fixed (to a certain extent) DAO.stg warnings. refs #523