Fixed only scanning once a folder/file