also check if current gate has defaults

otherwise, gate_defaults that do not define defaults for all gatetypes throw errors