$after_widget printed event when $before_widget isn't

Just noticed this while browsing the source. The `$after_widget` and `$before_widget` are printed in different nested `if` statements - so if a user is logged in, but has no purchases to display the former isn't printed, but the latter is.