Modified query compare on hostname to be case-insensitive.  Fixes #89.