Prevent unexpected scenario
Fixes #1406