Added binding reset to log storage query