Filtering out freight trains