Fixing issue with plugins becoming un-assigned after deploying bundle