Added unpublished check for linking to unpublished icon.