Added the PostgreSQL fix to the og_subgroups.common.inc.