Fixed bug where wrong role was being attached to asset