Made the retrieving of limited rows from storage more effective.