Make match_all_values work with or without argument