I have a 17,500 portable generator and have installed a 50 amp transfer switch, which has a 30 amp inlet. The cord to connect the generator to the transfer switch has a 50 amp male on one end (generator end) and a 30 amp female on the other. Is this okay? My electrician says it is.