[sr-dev] git:master: db_flatstore: fixup for new_flat_id function