Fix keyed subscript access for standalone objects

This currently does not work causing an exception on access.

@jpsim @bmunkholm