RAZ-3152: Handle invalid parentid's entered for label when added through API
- Tweaked to add label to root if incorrect parentid specified