Better way to make sure we keep lastInsertRowID safe :)
Fixed tagged builds here as well