Fixed casting of Agent objects.
Fixed casting of Agent objects.

google/sagetv,JustFred51/sagetv,jason-bean/sagetv,jlverhagen/sagetv,BartokW/sagetv,jason-bean/sagetv,skiingwiz/sagetv,jusjoken/sagetv,enternoescape/sagetv,JREkiwi/sagetv,jusjoken/sagetv,google/sagetv,jfthibert/sagetv,stuckless/sagetv,andyvshr/sagetv,jusjoken/sagetv,BartokW/sagetv,jlverhagen/sagetv,tmiranda1962/sagetv-1,gasinger/sagetv,skiingwiz/sagetv,jlverhagen/sagetv,JREkiwi/sagetv,jason-bean/sagetv,stuckless/sagetv,enternoescape/sagetv,google/sagetv,gasinger/sagetv,jusjoken/sagetv,JustFred51/sagetv,jlverhagen/sagetv,gasinger/sagetv,skiingwiz/sagetv,JustFred51/sagetv,jason-bean/sagetv,tmiranda1962/sagetv-1,tmiranda1962/sagetv-1,BartokW/sagetv,gasinger/sagetv,jfthibert/sagetv,webernissle/sagetv,BartokW/sagetv,JREkiwi/sagetv,JustFred51/sagetv,enternoescape/sagetv,enternoescape/sagetv,tmiranda1962/sagetv-1,skiingwiz/sagetv,google/sagetv,andyvshr/sagetv,stuckless/sagetv,webernissle/sagetv,stuckless/sagetv,andyvshr/sagetv,jfthibert/sagetv,JREkiwi/sagetv,andyvshr/sagetv,webernissle/sagetv,jfthibert/sagetv,webernissle/sagetv