Fixing issue where --keep-failed keeps passing tests as well