Fix issue for querying players with no league data

Fix exception error for players with no league data