WP-3654 Changed the code that sets the published state to true when importing cases