Fixes #3045 - Skip empty log arrays