Cleaned up subproduct attribute subvalues processing.
Cleaned and extended some comments.