Fix runtime exception when the column taskId is null.