Fix tracking actions with empty page titles using MySQL 5.6+.

Fixes error while tracking actions with empty page title using mysql 5.6 default config (STRICT_TRANS_TABLES) as it won't cast false to 0.