Fix issue with user points calculation