Removed a bug in commonality search operation in the diagram editor