Found out my problem. Schoolboy error probably .
I was re-targeting my query so instead of targeting Mavg30 query, I'd changed it to the make table and it didn't work.
RunAvg: RunAvgQ("MAvg30","SMAID",[SMAID],"AdjustedHistory",30)
When I kept the query and created a make table, it worked...