set parent to null if list parent is the root
Reviewer: Dan Jao
Issue: GCP-8837