Stewart Harper applauds courts for striking out hopeless cases