BAP-5205: Reindex should be platform agnostic  - small code fixes
BAP-5205: Reindex should be platform agnostic
 - small code fixes

morontt/platform,hugeval/platform,trustify/oroplatform,hugeval/platform,orocrm/platform,trustify/oroplatform,Djamy/platform,northdakota/platform,northdakota/platform,ramunasd/platform,Djamy/platform,morontt/platform,geoffroycochard/platform,geoffroycochard/platform,ramunasd/platform,ramunasd/platform,trustify/oroplatform,hugeval/platform,orocrm/platform,Djamy/platform,2ndkauboy/platform,2ndkauboy/platform,geoffroycochard/platform,morontt/platform,orocrm/platform,2ndkauboy/platform,northdakota/platform