Fixed bug unto which the wordpress id instead of the object id and relation was being saved to FriendsLog entries