Fix extra call to region.empty() #1920

Add a failing test case for #1920 and then fix the bug
yeah this is better