Added a further constraint to the postgresql schema search