Only trigger refresh when minimum input length is ok