measure view robustness: fix case where exception is displayed if a query is defined on a measure for which the associated form definition has said field (by name) removed.