Bugfix: correctly encode boolean params for Freebase