Simplifying blank row detection