Fixes adding defect trackers on the application detail page.
Merge commit 'ba5482ff03cb9b2cb12bcae8054d9a3764629b6d' into HEAD