Fixed a bug with zero skip.