Fixes status modification bug