Added check for empty balance.