Use select for booleans in order to avoid embeded docs bug