fixed the bug "whitespaces in grid search nodeg2 , nodeg3 does not retur...

...n anything"

Change-Id: Ie303684d36f2438f3f9e0aca952ad97ab91be412