[utils] Fix --match-filter for int-like strings (closes #11082)