Fixed crash occuring when no matches found for a badge type
Added new day badge type (requested in issue #1)