Fix URL params not loading for __index in REST