Handle boolean values correctly in results

Fixes #705

Signed-off-by: Ryan O'Hara <oharar@email.chop.edu>