Fixes #9

Signed-off-by: Simon Bailey <simon@newtriks.com>
Merge pull request #11 from newtriks/Uppercase-logic

Fixes #9