Fix for yellow screen in Sitecore 7.2 which would occur when the handle is not defined.