Changed search check to match href too