Added check that next element is Some of the added element