gridseed: Bugfix: previous refactor (unpublished) changed logic

break was intended for the now missing switch statement, not the while loop
Merge pull request #492 from nwoolls/bug/gridseed-logic-break

gridseed: Bugfix: previous refactor (unpublished) changed logic