Fixed viewname detection: Choose the best match when view and and parameters are given