Fixed the error "Cannot read property 'is' of undefined " when applying ...

Fixed the error "Cannot read property 'is' of undefined " when applying "includeSelectAllOption" and "includeSelectAllDivider" options