Fixed bug with empty object in Redis