I\'ve been trying to figure this one out for a few days now and have finally made a simplified enough test environment so that I can post this question with several examples.