Bug fix on filteredPDF. uDDcount etc had not been initialized