Fixed "too many SQL variables" bug in SwidMeasurementView