[api] extend check for supereseded_by settings to avoid to be set to zero