#386 Removed obsolete line
#386 Added fix for duplicate entries in db patch