Fixed resource table breaking, NaN requirements for gate.