Fixed a bug where URLs weren't properly parsed into NSURL objects.