Bug in Entities equals() Methoden behoben

resolves #250