Allow for protected variables in normalizeTrialVariables

Related to #43