No default picture.action_id but NULL value
Replaced wrong array_merge with + since array merge renumbers the integer indices (1,2,3) becomes (0,1,2)!