Resolving nil error for access cards / logs