Fix: wrong end in is_separated method.