Minor bugfix regarding adjusting of lab ending