As luck would have it, I just solved the same issue a few hours ago, so it was fresh in my mind.