If I took the traps out behind the shelves would that still cause a helmholtz resonation problem.
It will make the resonance worse (sharper Q) - an easy way to deal with this would be to simply pull the bookshelf out so it is at least 3 inches from the walls (that should make it leaky enough to kill any resonance). The only problem would come from placing the shelves up against the wall (creating a triangular tube resonant cavity with an opening at one end)