`if (!parent.isValid () && after == -1)`