corrected error when handler finds that read value was in the Writes array.