Fix allperfs trigger function
Merge pull request #1186 from titilambert/trigger_enchancement

Fix allperfs trigger function