Ok just an update, I got the issue fixed. To do so I had to delete the entries manually from the MariaDB for Fog. (Mysql)
[root@localhost ~]# mysql -u root fog
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 29
Server version: 10.0.23-MariaDB MariaDB Server
Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [fog]> delete from hosts where hostName NOT LIKE ' ';
Query OK, 51 rows affected (0.00 sec).
So basically
mysql -u root fog
delete from hosts where hostName NOT LIKE ’ ';
As a note the second line as I used it deletes all hosts, if you have a problem with only certain hosts then you would want to alter that.