Cleaned up an if/else assignment statement in Guru Notebook.
Optimized some if/else assignments.