Fixed the getSundayDate() function.