Fix for SimpleXML return on getActivity method.