Fixed bug in database.get_feeds where we were joining on the wrong ids, causing most entries not to appear