I have added a check the the emoncmupdate script to check for and remove duplicate entries with a space: