Made action retrieve multiple contexts when function is defined in route...

...r events