fix null pointer exception with analyses result selection