clean up getFeedHead() to make it similar to getFeedHeadByTimestamp()