DAO.stg compiles at last in a real-world database schema. refs #500