Thanks to HeikoS: Disabling reference counting for temporary sparse vectors.