Fix playoff problem in sqlInsertStage