Fixed checkbox behaviour when using invert="true"