Fixing type detection for bank accounts

Fixes #858 when [this pr](https://github.com/balanced/balanced-js/pull/74) gets pushed out.