Fixed pdf generation on Inspection Form