I have just looked on the IGI for details of the marriage. Andrew appears to have married twice on the same day. However, one record was extracted from the local records, whilst the other was submitted by a member. All member submissions should be taken with a pinch of salt until they are verified at source (ie parish records).
I would think, looking at the two entries, that Hannah married twice. She was either born a Sagar or a Cooper - possibly a Cooper since this record is not extracted, and the extracted record would usually contain the current name, rather than maiden name.
I'd suggest getting a copy of the record if you can, so you can check
