Removed check for #__bsms_admin table as it was causing the params query to fail.