FIX: return empty array when no parent for range (PR #14386)

If parent element for range does not exists, range calculator should return empty array. In that case duration calculations will stop because of:

if (_rangeElements(element).length === 2) {
  opts.duration = _calculateDuration(element);
}

GitHub