Fixed bug in the getSolution methods of FFA.

These methods were returning the worst solutions because they were
using the wrong comparators.