fixes #2801 - remove LOWER() in default_scope of models that could cause PG error