Added trailer validation