Changed Demon behavior logic. Fixed null bug.