Version 2.7.2

Fixed a logic in error checking that could cause an infinite loop