ArtNet code improvement to correctly handle input/output indexes