Fixed MySQL double truncation warnings from Case query.