Fixed condition to check if last item has been removed, and overlap should
be reextended