added support for 0 based sequential ids to our object db.