Bugfix for first IP address allocation