A simple act led to an art history professor discovering a 17th century masterpiece that was thought to have been missing.