Fix specta file checking