Fixed handling of 'forceTrailingSlash' option.