Fixed matching of parameters in URI. #891