Fixed cache cleaning vs. storing timestamp bug.

We were updating the list-last-updated timestamp even when there was a search
string specified. Which caused the server only to send filtered results. And
when we updated the timestamp we'd miss all the new event that didn't match the
search string.