Fix assertion nesting in assertmysql