Fix crash during network selection

Change-Id: I5cbc7c28cb39571ce5f5022d2bb5f38393965291