CLC-3466 Fix seed SQL cleanup