correction of a bug occuring when a condition is put on an aliased relation table