Removed the condition from the postgres