Correcting problem with archive page queries