Bug fix for arrayField