Similar Items: History Anchors: How Prior Behavior Steers LLM Decisions Toward Unsafe Actions