Fixes a bug that would sometimes cause source tags to be shown when they shouldn't.