Fixes Bug 873174 - fix bad comparison for application tags