Fixes bug where the console.log-checker wouldn't accept valid files