Fixing validation disabled file selector bug