Fixes #1874

Very self explanatory.