[bugfix] Fix wrong equality comparision
Reference this fix in the repo of a library we used to be dependent on: https://github.com/grangier/python-goose/pull/114