Part one of fixing a crash that happens when grabbing certain PDF properties