Fixed bug when calculating time on foursquare checkins.