Fixes redmine issue #7604, https://simplesnet.com.br/suporte/issues/7604
Basic ISelectableConstrainTypes support, we need to fully implement it.
flake8