Fixed a bug when adding an element to the black or white list