CORE-5013: added some preprocessing code to correct a problem with obtaining analysis parameters when foundation API apps are enabled