Preventing negative side-effects of vaccinations in cattle