Fix use instanceof instead class on array fields to prevent doubt on widget form creation