Fix trips check