Fixing count of misses

Only count a miss when it is really a miss...