Fix: crasher in Database::escape()