Fix return value of p5_av_top_index

Thanks to carlin++ for pointing this out...again.