NOVAD: Fix bug whitelisting IP ranges (only worked whitelisting single IPs)

Ticket #732
Ticket #728