Update versions
Group by post ID on posts table, rather than events table in case the latter does not exist. Ref #111