Added filtering for hook areas

This prevents problems like described in https://github.com/Guite/MostGenerator/issues/650