Fix bug in ActiveRecord::Sanitization#sanitize_sql_hash_for_conditions