Bug fix: error when invalid addresses are entered in config file

Signed-off-by: Philip Luyckx <philip.luyckx@gmail.com>