Had something like this years ago. Are you SURE it is not the bigger tank that is not overflowing. If it is,,,,,it could possibly if you have one a thermostatic mixer(shower) passing back through the hot water side. That is if it is the domestic tank overflowing. Just a thought. Get it straight...