Fixed the code for creating the grid search options.
Authored by: bugman 2008-01-15
Parent: [r4753]
Child: [r4755]