Don't crash when a connection isn't found for a query