Prevent cancelling Request with no Sample Codes

[F]ix to [B]ug: The system will not prevent cancelling Requests without
generated Sample Codes.