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