Changed the way the Butterfly class checks the rights.