Fixing some issies with viewParameterType and sessionGet.