Fix redirect case when no params present