Corrected query used to generate RSS feed