Added a fix to allow ids of newly created assets to be returned