Fixed bug that was causing publishing renamed items to fail