The pages widget that allows you to add a list of pages

The pages widget that allows you to add a list of pages you've created to the sidebar, doesn't work properly. It display all the pages, but the excludes function doesn't work at all. Any way to fix this?