Handle null parents