Feed generation SQL query now includes own posts