[api] improve modified_since