Issue 2174

A simple fix for issue 2174.