Re-added getDB()->escape(...) to some sql strings.