I would say your problem arises because the original construction is very clumsy and ambiguous as a result. I'd also guess that your understanding of "but" is probably good. I'd use "nor" where the original writer had used "but" to reduce the ambiguity that the original writer has put in.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.