preventing _previousAttributes having a parameter access if it's undefined
Merge pull request #13 from toddself/preventing_foreach

preventing _previousAttributes having a parameter access if it's undefin...