Scraper was failing to get details for an album when a release of
another type (single or compilation) with the same name exists.

For instance:

Artist: Judas Priest
Album: Nostradamus

MB Url sent from the scraper:
http://search.musicbrainz.org/ws/2/release/?fmt=xml&query=release:%22Nostradamus%22%20AND%20artist:%22Judas%20Priest%22

Result after executing the regexps:
<results sorted="yes"><entity><year>DE-2008-T#13</year><artist>Judas
Priest</artist><title>Nostradamus</title><url
cache="mb-59a3bba0-56a1-4ce0-b071-31360b59bf8d-album.xml">http://musicbrainz.org/ws/2/release/59a3bba0-56a1-4ce0-b071-31360b59bf8d?inc=recordings+release-groups+artists+labels+ratings</url></entity><entity><year>US-2008-T#13</year><artist>Judas
Priest</artist><title>Nostradamus</title><url
cache="mb-7cf3b475-88b0-35e5-aaf6-a0ba7107a3f5-album.xml">http://musicbrainz.org/ws/2/release/7cf3b475-88b0-35e5-aaf6-a0ba7107a3f5?inc=recordings+release-groups+artists+labels+ratings</url></entity><entity><year>XE-2008-T#13</year><artist>Judas
Priest</artist><title>Nostradamus</title><url
cache="mb-ce6bc9e5-0ca3-342c-ac00-78963655a92b-album.xml">http://musicbrainz.org/ws/2/release/ce6bc9e5-0ca3-342c-ac00-78963655a92b?inc=recordings+release-groups+artists+labels+ratings</url></entity><entity><year>JP-2008-T#13</year><artist>Judas
Priest</artist><title>Nostradamus</title><url
cache="mb-a319bbf8-0d5a-4209-9de1-1fe821f772a0-album.xml">http://musicbrainz.org/ws/2/release/a319bbf8-0d5a-4209-9de1-1fe821f772a0?inc=recordings+release-groups+artists+labels+ratings</url></entity><entity><year>XW-2008-T#1</year><artist>Judas
Priest</artist><title>Nostradamus</title><url
cache="mb-59a3bba0-56a1-4ce0-b071-31360b59bf8d-album.xml">http://musicbrainz.org/ws/2/release/59a3bba0-56a1-4ce0-b071-31360b59bf8d?inc=recordings+release-groups+artists+labels+ratings</url></entity><entity><year>DE-2008-T#13</year><artist>Judas
Priest</artist><title>Nostradamus</title><url
cache="mb-23aada98-3ffc-4247-8fb6-528eeaee3077-album.xml">http://musicbrainz.org/ws/2/release/23aada98-3ffc-4247-8fb6-528eeaee3077?inc=recordings+release-groups+artists+labels+ratings</url></entity><entity><year>US-2008-T#13</year><artist>Judas
Priest</artist><title>Nostradamus</title><url
cache="mb-7cf3b475-88b0-35e5-aaf6-a0ba7107a3f5-album.xml">http://musicbrainz.org/ws/2/release/7cf3b475-88b0-35e5-aaf6-a0ba7107a3f5?inc=recordings+release-groups+artists+labels+ratings</url></entity><entity><year>XE-2008-T#13</year><artist>Judas
Priest</artist><title>Nostradamus</title><url
cache="mb-ce6bc9e5-0ca3-342c-ac00-78963655a92b-album.xml">http://musicbrainz.org/ws/2/release/ce6bc9e5-0ca3-342c-ac00-78963655a92b?inc=recordings+release-groups+artists+labels+ratings</url></entity><entity><year>JP-2008-T#13</year><artist>Judas
Priest</artist><title>Nostradamus</title><url
cache="mb-a319bbf8-0d5a-4209-9de1-1fe821f772a0-album.xml">http://musicbrainz.org/ws/2/release/a319bbf8-0d5a-4209-9de1-1fe821f772a0?inc=recordings+release-groups+artists+labels+ratings</url></entity></results>

After comparing the MB output to the trasformed output, i see the first
entry is mixing the id from the single with the country, year and track
count of the second. This is because the part of the regexp puts the
"non-album" (<release-group\sid="[^"]*\"\stype="Album") stuff of this
single as part of the aliases group (?:<alias-list>(.*?)</alias-list>)*
and the regexp continues evaluating but with the next "Album" release
after having read the id of the single.

I checked this happening (and fixed by this change) in the following
albums:

Duran Duran - Notorious (Single with the same name as the album)
Gary Moore - Back on The Streets (Compilation with the same name as the
album)
Revert "Scraper was failing to get details for an album when a release of"

This reverts commit 0812dd71bef76f417678525716761ffabf3e2ed6.