Fix for capturing variables for modification only

Look inside et.MutateVar's modified variable when calculating captures