Tests pass this time.
Merge pull request #1127 from sigmavirus24/fix1126

A simple fix