Fixed selected accounts when imported from another device

Refs #1699