Fixed url-param validation mechanism, almost fully functional now