Stronger initial check on urlMapping table