Is_valid assert wasn't displaying anything.

Fixed it with a message.