Yes, tricky. I wouldn't use such a comma unless its omission made the sentence structure very murky. It is obviously inserted by others because they fear murkiness where none exists, really.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.