Several bug fixes in availability and assignments.