insertBefore for children with negative ranks