Add optional user_id/project_id parameters to some functions to fix the filter migration in the installer