Fixed a bug in trivial triangle accept.