Fix queries for kolide_keychain_ tables (#2785)