Fixed glitches in agents (now agent doesn't consider offered states'
duplication as invalid, only expanded states