Removing JPEG from validations