properly handles updating patient based measures... previously this woul...

...d break due to a [ ] call on nil