Fix PDF author and title setting in database