Fixed FILLER for gaps

Fixed the check in IS_FRAME since it would count a pred + gap as a
valid frame