Refactored path variable name to refinementPath to avoid mixing with this.path.
Added a copy of new attribute refinement (which is now separated from the properties map).