FORGE-1888 and FORGE-1914

Looks like the matching parenthesis for the cast should be after ${dtoVar}?