Fix : filter by status + was not working if desiredstock not defined