InputsFor causes infinite loop