Fixing infinite callback loop in reset calls.