Fix the cleanup with boolean values #49 
Fix the cleanup with boolean values #49 

Added an additional check for boolean values.
andtyl/bugsnag-php,bugsnag/bugsnag-php,bugsnag/bugsnag-php,bugsnag/bugsnag-php,talib570/bugsnag-php