Fixes notice when DB queries aren't logged properly.
Updated to support changes in https://www.drupal.org/node/2489636 and https://www.drupal.org/node/2474047.
Initial tagged release. This contains changes that fix issues when clearing caches via the Performance page in the UI.