Trapping for nil params, to address issue #7