Bug fix #64 could not search demographic when assign document to demographic