Cache views filtered by taxonomy correctly

#3952