removes error_by_hubs method from dashboard
fixes sorting for credits_bought_by_kiosk
fixes broken rspec tests, adds guard clause for null cases in errors_by_hub_chart and provider-based methods