Fixed a wrongly placed return.