fixes to frame flattening for olaps, charts
Merge pull request #512 from demaagdk/develop

fixes to frame flattening for olaps, charts