OPAL-1726 - set variable index to ZERO when indexing opal-variables