Fix array assignment, selected_item search