Made invalidation tighter.

Signed-off-by: Martin Evans <martindevans@gmail.com>