Select the first variant which met the filter criteria than iterating over others.