Fix bug with toggling checkboxes in the project detail page