fixed overzealous cosmetic filter bug introduced in #365