FAIMS-322: updating insert statements to manually enter parenttimestamp
FAIMS-322: fixing bug with history showing multiple rows of the same data