function_hooks: mark params untracked if there is not data in the DB