Range fix. Improve empty content test.