Further bug fixes for watershed_sequence