Fixed local search in selectbox

- selectbox now searches correctly even with data of object type