Fix for false parameter value passed as true


Glen Parker fix for boolean values passed when using prepared commands.

Thanks Andrus Moor for heads up and bug report: 
http://pgfoundry.org/forum/forum.php?thread_id=15672&forum_id=519&group_id=1000140