Triavial bug fixes on export firm related function implementations.