Fixed boolean conversion problem, changed param order as well