Fixed status comparison