HSEARCH-1271 Removing stale code. Cleanup.
HSEARCH-1271 Don't process contained in, if the entity in PerEntityWork is null.