Fixed checkbox behaviour when using invert=true
Merge pull request #3 from thebigh2014/master

Fixed checkbox behaviour when using invert="true"