Fixed return message bug in mixed type assertions