How to clear bke.modifier errors?

How do I clear bke.modifier errors? You can clear the animation_data bke errors, but I want to clear the bke.modifier errors in the game to avoid the console from being spammed by these errors, which is annoying.

There is a bug in UPBGE 0.3.6.1 which currently makes UPBGE/Blender think that any Boolean Input Property type does not match the input socket, which in turn spams the console with the bke.modifier errors. Annoying until it gets fixed in a new version of UPBGE hopefully.