Add isset() call to fix php error message

Squash another php error