Add comment to explain what and why the parent is being checked and the current flag is being set.
Add comment to explain what and why the parent is being checked and the
current flag is being set.

materials-commons/mcstore,materials-commons/mcstore,materials-commons/mcstore