Fix constraint errors getter