#441: Log Viewer Application bug fixes and upgrades

Fixing the Query builder for quering for history