Fix misalignment in Query, Midline, and Hit seq

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>