Latest articles and downloads panels fix

Changed SQL queries for new access options and removed from queries
unused field.