**Describe the bug** When a schedule compliance report is created and filters are chosen, the pdf is not generated correctly **To Reproduce** Steps to reproduce the behavior: 1. Go to 'Compliance' 2. Click on 'Compliance Schedule' 3. Click on 'New Schedule' 4. Select a compliance 5. Select at least one filter and a schedule 6. Click on 'Create schedule' 7. When you receive the email, the attached pdf is shown without content **Expected behavior** The compliance report should arrive by email showing the information with the filters applied.