Fixed bug on exclude equals None.