Fix edge case where items count is lower than model count.