Fixed bug in result component