Fix type hinting on feature array validator