GEOT-4460: Using functions in linkElement causes WMS error