Ensuring that offer code is active before returning it.