I forgot to include this file, which contains the SQL to decide if we mark a detRunSummary as cleaned.