Minor adjustment to if statement, relates to issue #87