Fixed getPhotosBeforeOrAfterTime() so that the unixTimeInSecs field is a double.