Fix type hint check - it was detecting "int" and "bool" in the middle of type hints.