Your issue is fuel starvation, and it's very likely that the dirty tank clogged your filters. I would replace all fuel filters you have in the system (by the tank, in electric pump if you have one, in engine bay, and at the carb banjos). Again, for those having problems, correct valve lash is absolutely critical. It does not take much effort to remove a valve cover and measure clearances, yet it has a huge effect on the way your engine behaves. Filters first, valves second, then worry about the rest. If your car will rev to redline occasionally, but bogs at constant speed then the problem is exactly what you would think it is, no magic to it.