Stereotype collection bug fix

Signed-off-by: Piotr Carewicz <piotr.carewicz@gmail.com>