Fix bug in Clients#edit