Fixed the grouped date selector bug