Fixing issue where results.success returns string boolean, rather than real Boolean