fix bug preventing serotype-specific immunity from being modified