Fix improper handling of errors with find().