Fixed uncaught JS exception when clicking on "assignment" cell when there was no button