cancelling the operation when there are no accounts to select