Problems with boolean fields