Not select but parameter is to blame ? (boolean stored as string not int)