fix row and column range for empty sheets (fixes #8)