Added check on raw parameter to kps_callback to guard against running during loaddata from fixtures so as to avoid creating KeyPublicationStatus objects that would be recreated from the fixture.