Small fix that clears errors on sites with mupltiple contexts. 

Sometimes array $modx->contexts get wrong key=>object assigment cause of switchContext don't fill $this->contexts array, but links it to $this->context.

Signed-off-by: Indomian <blade39@yandex.ru>