Fix query url on inspection table