Added check for shared features (those with multiple parents)