Fix issue #117

https://github.com/briannesbitt/Carbon/issues/117
PR https://github.com/briannesbitt/Carbon/pull/118
since the original never got merged.