[BUGFIX] Fix SQL error when bookmarking a sys_file_metadata record