Fix for duplicate entries in database when editing existing source

see: http://bugs.embermediamanager.org/thebuggenie/embermediamanager/issues/89