Fixed method GetParameterValueFromLayer(), now it searches in result dictionary instead of parameters dictionary.