Fixed bug with sequence range collection