server/state: Improve access dependency check