Smart completion: fixed addition of tail chars after true, false and null