Bug fix for handling multiple BaseURLs

Handled multiple BaseURL elements by simply choosing the first BaseURL.  Fixes the issue #36.