Remove one id from array of typeIds instead of rewriting whole array