Fix off-by-one error in marker move delay check

This fixes randomly failing integration tests on some machines