Fix cleanStructure in Entity

The  field of Entity did not get cleared and thus still returned
all the old claims. Now we set it to an empty array, too.