Fix for the specific_analyses.frame_order.optimisation.grid_row() function.
This can now handle the case of a single grid increment. The change is similar to r163 in the minfx
project (https://mail.gna.org/public/minfx-commits/2014-07/msg00015.html).