Fixes off by one error when preloading

(non critical)