Bug fix for user_cache being set to false when form is not valid.