Fixed exception when empty list of network grants is sent