Fix goals bug

I think I got this sorted out. The issue was when a goal had lasted at least 14 days, it would start looking 15 days back instead of 14 days. This would cause the `rating` method to return a number greater than 100, which would cause the `rating_colour` method to return nothing.