Fix setSuper bug.
Merge pull request #1009 from mbebenita/master

Fix setSuper bug.