Blind fix for #484

I'm pretty sure this should do the trick though.

jed: yep tested fine for me.