Fixing cast issue with Pentaho/MantleTabs