'Validate input and transform indices to appropriate tags.
:param list indices: input
:param list tags: Original tags of the checklist
:returns: valid tags the user selected
:rtype: :class:`list` of :class:`str`'

def _scrub_checklist_input(self, indices, tags):

    try:
        indices = [int(index) for index in indices]
    except ValueError:
        return []
    indices = list(set(indices))
    for index in indices:
        if ((index < 1) or (index > len(tags))):
            return []
    return [tags[(index - 1)] for index in indices]
