Fixed filescan bug
 - This issue was introduced while reworking the file scan mechanism