Fix the filtering of variable in the nursery/trial, added a new parameter for trial popup

Reviewer: Dan V

Issue: none