Fixed bug when action is the only thing changed