Added a verification for the flat trim in order to save the drone