Fixes bug where the last remaining EditText could have been deleted