Fixing issue with None being returned

{} is expected