Fixed SantaDB mishap where clause