Fix issue with not being able to delete flights