Issue #2291843 by Liam Morland: Fixed next_serial has no default.