Fixes the case where match key is not an integer.