Fixed DAOFactory.stg warnings. refs #522