Switch to exact search in integer Contract fields

(f-me/carma#1776 workaround)