Why do you use both boolean and Boolean fields? Try to use only boolean fields.