performance improvement: don't calcualte all found posts