Fixed WeBWorK not working on some pages

Fixed checkbox option for WeBWorK staying checked when permissions are
not granted