Fix regression where locating buttons by (:value, Regexp) would fail.