BUGFIX:'type of availability' working correctly (adding and removing)