BugFix in Polygon mode.

Fixing the bug that crashed the app when trying to do a big polygon survey.