Improve error message for 'validatesAfter' with invalid arguments.