Well, it SHOULD be at the end of turn - so I don't see any reason to think it's not a bug.