[meta] Add check for invalid parent
[meta] Add some comments