Fix for conditional check of published resources.
Fix for conditional check of published resources.

hydroshare/hydroshare,hydroshare/hydroshare,hydroshare/hydroshare,hydroshare/hydroshare,hydroshare/hydroshare