Adds status transition validation