Avoid inconsistency when checking balance