fix errors with PR #133 'Only flatten validated attributes' : filtering on validated attributes but considers also an attrs option containing specific attributes to validate in order to propagate attrs options from validate method
Merge pull request #131 from bmeurant/master

fix endless loop on flatten method