I just replaced my heater, and in researching found that there are some bacteria that can make it past the filters (wouldn't you know) that can stink up the tank. The recommendation that I have seen most often is to fill the tank with a strong bleach solution (with it off of course). Just makes sure it is totally full. Let it sit for a day or so, then run it all out. This will kill any nasties hanging out in there.