Problems with boolean in schema