Fixed bug when no tide is provided in tideData