Fix bug#5281 - values are not set to 0 after reset