Introduced an error in the last iteration. I moved the flight logic above the range verification in an attempt to try to get the drone to fly at least.