Fixed #21552 -- Cannot use None as a query value for iexact lookup