Luck was on the Terps’ side