Fixed order of requestUri alternatives. Thanks to @tatac1.