If-Modified-Since fix when datasource filter is set

Closes #258.