Understanding Electrocatalytic Nitrate Reduction Catalyst Performance in Ideal and Practical Conditions