Fixed GenericDAO breaking when no rows in the requested table existed.