Fix critical bug in qpms_vecspharm_fill()