I'm not sure what @mc_member['errors'] is, but the comparison looks weird, why having errors with zero means that there is an error?