fix(store): check OSD_ID type rather than return value