Improve access list merging