Form edit: Make entity type checkboxes to work.