Fixes potential indent error
Merge pull request #1297 from lukecampbell/discovery

Fixes potential indent error