Fix logic error in account name lookup.