Few bugs removed for JomSocial Mode. Also Fixes #4