Fix broken logic in deleting invalid spoutcraft builds