Added additional check on $_REQUEST_URI.