Fixes user validation bug