Added pre-filtering step to read scanning to speed things up