Implemented filtering of hidden variables for display-settings directive

Reviewer: Dan V.