Fix priviledges.where(node_id: node.id).first_or_create not working for embeds_many.