fixed issue with non-home-page material displaying improperly with a big fat if statement