Fix last ajax call to (hopefully) fix the tests