Added a check for undefined league responses, too (per #13)