Fix minor layout issue with long queries