Fixed issue #1888: operator [] should be allowed in chain