Fix a bug while the user has only one image to tag.