Handling duplicated feeds

DB values are now UNIQUE and in case duplication they are not added any
more.