Fixed sales report breaking when account is null