Effects of the precursor electron bunch on quasi-phase matched direct laser acceleration