Fixed tagging and dirty bit setting in L2