Fix for boolean values in update query documents