Fix insert clause over cube queries