Completed tasks no longer display past dates in red

Fix for https://github.com/HabitRPG/habitrpg/issues/3940