After you file

If I entered wrong account numbers, when will the irs be notified that it is wrong and told to mail out the refund? If I check the status of the return, why does it says deposited if the account numbers are wrong? Doesn't make sense, it should of been rejected right there or within 24 hrs if its wrong, it shouldn't say that it was deposited on the 22nd of February.