Fixed problem with lower/upper bonds