Fixed bug preventing users from switching which assignment type an assig...

...nment belongs to