Make sure that isLastUrl uses the correct list
Added method to exclude urls