Fixed bug in quotes query (PG::UndefinedTable: ERROR: invalid reference to FROM-clause) [t: 0:23]