Fix `undefined method [] for nil` when no sphinx hash given