What if getTags() returns an empty list here (IndexOutOfBoundException)? Can that happen?