Issue #2321659 by DanChadwick: Fixed PHP notices with numeric and datetime conditionals referring to an empty component.