Attempting another tweak for postgres syntax