Fixed crash while deleting white/black list entries