Solve issue #218 

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