bugfix for issue #18

my php logs kept filling up with these warnings so i squashed it even
though i think it's origin is in buddypress itself and even though the
bug itself is of no real consequence.