pyfaf: handle list of solutions when finding solution for a problem