Fixed very stupid logging error.