Fix reset calculator when a new operation is started.