Fix EZP-21685: Selection attribute fail in ContentStaging with value Zero

Recovering https://github.com/ezsystems/ezpublish-legacy/pull/496 which fixes this issue
`empty( "0" )` (the first option's value) returns true, meaning that has_content will return false