WAC bugfix for trailing slashes
fix index for non-graph media types