Adding a bunch of escaping to make_mc_project_schedule_materials(). Thanks @mjangda.