Added protection against duplicate records;; improved logging of paths with database ctimes ahead of filesystem.