Fixed condition where nothing could be returned.