Make getConstraint() a tiny bit more readable.