The K&N has nothing to do with the over heating, but also has no place being on a trials bike. So was the water pump bad? Did you have a head leak? Have you hooked up 12v to the fan? I would by pass the thermo until you solve this problem. Fix the problem, do not go for a long ride. It could be just electrical.