Fixing issue with usage of incorrect flags for code analysis