Fixed bug with custom URLs being processed even when not specified