The role of sand in wave-supported gravity currents