Fixed bug in logging statement.