Fixed it for him, that query never worked, so had to manually find the problem lol.