Fixed issue causing layout not to load if the last sections row count was zero.