Handle required ForeignKey DoesNotExist errors gracefully