generic_autocomplete - fixes #24