Resolved an error where the autoincrement ID was not correctly being returned for new model inserts