CRM-14028 - Workaround the number 0 == empty() php bug