Fixed select_form issue when using entity_cache