Fix replace of builds in query string.