add nil check
bump versions
Merge pull request #2 from propertybase/fix_nil_error

Fix undefined method `length' for nil:NilClass"