Notoriety doubt

Why do I generate APC when I add five levels to Morningstar and Deckers in the Notoriety_spawn file, and many times the gang can't refresh, especially in survival tasks and illegal trading games, sometimes the gang will refresh normally, and sometimes it won't refresh at all, is it because the code is incompatible?