Fixes Bug 873174 - fix bad comparison for application tags

https://bugzilla.mozilla.org/show_bug.cgi?id=873174