AWA on Postgres: column number -1 is out of range 0..0