MdibStorageImpl adds context handles into entities map upon updating contexts
Updating context states adds their handle to the entities
map, which causes for example findEntitiesByType(AbstractDescriptor.class)
to return duplicate entities, as they are present in the map more than once.