It happens in the real world too. The cold and flu viruses mutate constantly, which is why last year's flu shot isn't going to help you much with avoiding this season's flu, and you getting a cold in the past doesn't make you immune to catching it again.