Issue #1354596 by rszrama: replace comparisons against ['values']['op'] with comparisons against the end() value of the triggering element's #array_parents array.