Fixed null test in CowsMobileServer