Fixed sync bug when response from server was empty. Trying out subtract from date to get realtime info from last year