Avoided redundant execution of boundcond

As requested (kinda hard to test)