Was Mary Ann Allen a widow before her marriage to Alexander Montgomery? Was her first husband named Dalway?
Do we know if this is the correct marriage record?
Usually records at that time defined If a widow or single woman. So look for detail instead of just the index record.