Fixed logic tests for measurement parameters - causing null and 0 to be rejected.