Fixed handling of the argument for indexers.

References #320.