Fixed a bug with random starts.