Bug Fix

-Changed the way the boolean type is passed to the database to prevent
errors.