Fixed typo in /stats/{type}