Fix bug in createaccount - somehow had omitted query account by name!