Add missing argument in the call to db_insert_metadata