Fixed delete on main screen bug.