Rerun failed test cases


I try to rerun failed test cases and I set the number of times a test execution is reattempted with the value 1 on Virtual Device Testing for Android step

Actual Result: All test cases were repeated not only failed test cases
Expected as documentation: should only failed test cases run again.

Any way to rerun only the failed test case or fix “number of times a test execution is reattempted”?

Please check the attached screenshot.