Fix SQL query in kill reporting