Make existance validator work with non-int ids.