fix handling of array index when being part of the topic, also handle splice arguments (fix #480)