STYLE: Remove end of line spaces.
BUG: Assert statment error was causing segfault in debug builds.