https://github.com/Metaswitch/sprout/issues/500