Replace all $interval occurrences in query string

Very useful in series name. But replaced only once in query string.