Fixed broken quat_prod.