Fixed validation in web service