Fix #291 upper bound