Fix API exporting when sight has special variables flag and flagReason