Fixes #6

Nailed down where the error was and corrected.

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>