fix excluded categories not working in widget

please include this fix in your next maintenance release