Minor optimization for hmget