fix selected borders on retry and success jobs