I think you are seeing their posts from before they were banned. Banned member's posts are not deleted (except in extreme scenarios) so if someone posted something yesterday, and was banned today, you will still see their post but their profile will be banned.