Shouldn't this be after the `empty()` check?