Bug fixes with the viewGet functionality.
Fixing a few bugs and adding TODOs.