Fix error that appears if you perform only one action.