Fixed compilation of optional param helper