Fixed crash when using 'forcenext'.