Fix Undefined Index #875
Fix spacing
Merge pull request #879 from elliott-stocks/patch-1

Fix Undefined Index #875