Fixed bug in new_actions-function, now returns only action in current course