Fixes bug with non QuantityType vectors