Fix bug where you couldn't "remove" from an EntityList.

This was caused because, for some reason, a == a was returning False,
even though the objects were in fact the same object.