Only do initial scan if scanInterval==0 (fixes #856)