Fix get walking solutions

This might fix #377