Checking options.initial for Code field, fixes #565