fix bugs in Range for wrapping Enumerables