Oh, I forgot, array_filter doesn't work in Template Conditionals - it's disabled because it can be used to make arbitrary callbacks.
You could either enable it in phptpl_allowed_funcs.txt and take the security risk, or implement your own version of it by adding the following to inc/functions.php
and adding array_filter_blank to phptpl_allowed_funcs.txt, then using array_filter_blank instead of array_filter
Also, why are you using "['value']" ? It should work without that. intval doesn't seem necessary - this works for me: