Fixed issues with daysFromStart() and invalid colors