Fixing not_if to check agaisnt the correct thing