Fix nill/null value of IPList

Initialize IPList to an empty array if the IPList is nil/null.
Also update for fail regexes

Update for fail regexes too (same issue as IPList)