changing locator to #(get-in % [2 1 :href]); altered the (not= (second x) {:class r}) to be more universal