improve boolean handling for tempodb