Fix #147: Atom lookups sometimes fail