Order ID could not be generated when using prefix (#828)