Fix insert not incrementing serial.