Fix searching of values.