[FIX] Path finding stopped working with gateway account (RT-2218, RT-2215)

Also fixs a bug when exchanging currencies without full names