When using the k-drive the affinity doesn't seem to be counting correctly. At the end of the mission in the progression tab it will say "expired" instead of the normal amount of affinity gained.
It seems the bug is entirely visual, because the k-drive does in fact rank up.