Fixes parsing top level smart collections