Fix return for getchats