Handle toggling correctly.