Fixed #11675 ValueToDuplicatesTransformer accept "0" value

Fixed wrong return null syntax