Fixing issue where checkbox checked status was not remembered after errors in form and redirect