Fix tabs on profile page

Some merge conflict resolution seems to have messed up the nesting of the profile tabs breaking them. Fixed here.