Cidr mask fix

Beautifying code can cause bugs.