Merge pull request #213 from GitAleB/master

Fix of #179: Custom attributes are not correctly reverted when calling revert