Fix crash when trying to edit open with applications