Begign bug: Fix incorrect return value