Fix a missed case when integrating based on a boolean parameter
Fix a missed case when integrating based on a boolean parameter

bculkin2442/ioke,bculkin2442/ioke,bculkin2442/ioke,olabini/ioke,olabini/ioke,bculkin2442/ioke,olabini/ioke,olabini/ioke,olabini/ioke,bculkin2442/ioke,olabini/ioke,bculkin2442/ioke,bculkin2442/ioke