Fixed some bugs related to postObject.
Merge branch 'master' into stop_words
Fixed two bugs related to empty strings in the query