Added no result check and fixed exception for no result Panel