If you wish to query loans that do not have a certain status, you can select the status code to be omitted from the query by clicking the box next to the status code twice so that an "X" appears.