This is a hack that needs some serious commenting.  It took me quite a bit of looking back and forth before I could clear out most "Huh?" and "WTa*?" from my mind...  I quite frankly dislike this, but I can't currently see another way.