Since it appears that there's an element that follows the new one, the code is only supposed to provide the beforeID.