BUGFIX: updated use of : in case for 1.9+

The : symbol is no longer valid as a replacement for then in a case
statement.