Updated next and previous to remove a join