Fix usage of `exists()`.