Solve issue #218 

This are just a little changes but they makes attributes removal little easier to do in nifty-editor I haven't check the vertical behavior yet , but the others seems fine.