Fixed SQL statement when excluding deleted travel requests