Typecast these incase either is empty or null
Merge pull request #17 from RyanThompson/patch-1

Typecast these incase either is empty or null