updated the undefined params filter to handle the associate array (icky) correctly