Fix for bug27195

Fixes bug27195