Fixed the last sequence containing "/" with recursive next() call.