Bug fix in libstruct operator []