HPCC-12006 Avoid internal error adding tiny resources

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #6300 from ghalliday/issue12006

HPCC-12006 Avoid internal error adding tiny resources

Reviewed-by: Jamie