TSI-117 cleaned up CastValue because Jarno thought it contained an error
TSI-117 cleaned up CastValue because Jarno thought it contained an error

sdl/dxa-web-application-dotnet,sdl/dxa-web-application-dotnet