make the httpexception filter more choosey