Fix boolean param parsing