fix cannot extend membership

[``* `#15423` Cannot extend membership``](http://www.openproject.org/work_packages/15423)