Fix: Extended queries raise exception in mvc views