Fixed issue with stale vectors.