I find your comment rather insulting to kevync1985.  Let me assure you that he does not “diddles” with the data nor is your usage of “data externally” accurate.  In the first place, what he does with the data using SQL increases the effectiveness of Roots Magic by 60%.
The average user should be grateful to users like kevync1985 (and myself) who discover issues that, while not seen directly, can cause issues within the programmer.  Programmers like use do not criticize other programmers work (at least those with integrity don’t).  When we find these types of issue, are intention is only to bring a potential issue to their attention.  Flags in database not resetting correctly can cause unforeseen problems that would be reported as “weird” or “strange”.  Ie; “I have this weird issue with my great grand-aunt’s relationship to my cousin”.
One last side note; What, exactly, is the point of your comments?  People like you really bother me when you aim critical comments at a person who is seeking answers.  If you don’t like what he is doing, then please keep it to yourself.
Diddle:
informal
cheat or swindle (someone) so as to deprive them of something.
“he thought he’d been diddled out of his change”
deliberately falsify (something).
"he diddled his income tax returns"
informal•North American
pass time aimlessly or unproductively.
"why diddle around with slow costly tests?"falsify
I asked AI if using SQL was external to the application
"Standard Application SQL Usage
Typically, applications communicate with databases using SQL as part of their internal operations. The application code:
Connects to a database with proper permissions.
Issues SQL queries (SELECT, INSERT, UPDATE, DELETE) to pull or manipulate data as needed.
In this scenario, SQL is not “external” to the application—it is part of the application’s normal data processing workflow."
Note to Admin
I mean this post to be a polite critique of someone’s post, just as they did with theirs.  My intention is only to clear up a few facts in that post which really has no relevance to the original post.  Since I work with kevync1985 and have benefited from his work (and knowledge) I found this post troubling.  I had several issues when using relationships provide by RM.  Using his scripts I have an extraordinary view of all my relationships in the database.  I concur that there are issues with the flags not resetting properly and only hope this makes it to the programmers for their review.