added a check on presentation publish script to avoid the duplication of thumbnails for a given slide