'Added code so that if all tags are removed from an image, it assigns it
to a default tag.