SIT-1347 fix latest time

bbox wasn't returning dates correctly when checking the latest time