Add explicit return to prefix hash keys function