Added method to clear outdated selection of entity owners on recompute (update) of selection. Added test case to check selection behavior in local context. Cosmetic corrections