Fixed issue if returned nil. Updated gem version.