Helper code to resolve potential front page/list view issue (see #5)