Are you sure this is what we want ? if there are several machine, shouldn't we pick the accepted one, then pending, then deleted (in that preference order ?)