Fixed another bug with not threating children array as immutable