mapi: correctly handle the full offset table