Fix issue with :advanced optimizations (cljs bug?)