Fixed handling of issues without points
Removed debug