Fixes error
Merge pull request #4104

68aa01e Fixes error (Ian Carroll)