Query fix for pgsql movie year comparison.