Fix #2199, aka MAGN-4271

Extremely simple fix - not sure how this regression happened.

@ikeough