Quick fix (I wonder why I didn't notice this in testing?).