Used a type cast to cut down on the dependancy checking at the beginning of the function.
Used a type cast to cut down on the dependancy checking at the beginning of the function.

zanderbaldwin/eventing,zanderbaldwin/eventing