Add validation for new paperclip version