Its giving me Error if I use match instead of collect

              found   : co.uproot.abandon.BalanceReportEntry
[error]    required: javafx.collections.ObservableList[co.uproot.abandon.BalanceReportEntry]
[error]             case BalanceReportEntry(Some(acc), render) =>
[error]                  ^
[error] /home/sk/Work/abandon/gui/src/main/scala/co/uproot/abandon/BalanceReport.scala:37: type mismatch;
[error]  found   : Any
[error]  required: co.uproot.abandon.AccountName
[error]               BarChart.aChart(acc)